package lang;

import java.util.List;
import java.util.ArrayList;

public class ArrayTest {
	public static void main(String[] args) {
		Object[] arr = {};
		List<String> list = new ArrayList<String>();
		list.add("aa");
		list.add("bb");
		arr = list.toArray();
		System.out.println(arr.getClass());
		System.out.println(arr.getClass() == Object[].class);
		
	}
}
